#ifndef QWTTHERMOHOST_H
#define QWTTHERMOHOST_H

#include "qwtabstractscalehost.h"

#include "../../libs/qwt/qwt_thermo.h"
#include "../../libs/shared/qcommonstruct.h"
#include "../../libs/shared/property/qcolorproperty.h"


class QColorGroupProgrety: public QColorProperty
{
    Q_OBJECT
public:
    Q_INVOKABLE QColorGroupProgrety(QAbstractProperty* parent=0);
    QString         get_value_text();
    static QString get_property_name();
};


class QwtThermoHost: public QwtAbstractScaleHost
{
    Q_OBJECT
public:
    Q_INVOKABLE QwtThermoHost(QAbstractHost* parent=0);

    static QString get_show_name();
    static QString get_show_icon();
    static QString get_show_group();
protected:
    void    init_property();
protected:
    void    create_object();
};

#endif // QWTTHERMOHOST_H
